﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>用户登录</title>
<script language="javascript" type="text/javascript">
<!--

function Button2_onclick() {
history.go(-1);
}

 -->
</script>

</head>
<body background ="images/物资管理系统登录页面.jpg" >
    <form id="form1" runat="server">
    <div>
        &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;<br />
        <br />
        <br />
        <br />
        <div style="text-align: center">
            &nbsp;</div>
    </div>
        &nbsp;
        <div style="text-align: center">
            <table style="width:799px; height :355px">
                <tr>
                    <td align="center" style="width: 976px; height: 440px" valign="top">
                        <br />
                        <br />
                        <br />
                        <br />
                <table border="0" style="width: 668px" cellpadding="0" cellspacing="0">
                    <tr>
                        <td style="width: 460px; height: 34px; text-align: right">
                        </td>
                        <td style="width: 57px; text-align: right; height: 34px;">
                            <span style="font-size: 9pt">账号：</span></td>
                        <td style="width: 100px; text-align: left; height: 34px;">
        <asp:TextBox ID="txtUserName" runat="server" Height="16px" Width="139px"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td style="width: 460px; height: 36px; text-align: right">
                        </td>
                        <td style="width: 57px; text-align: right; height: 36px;">
                            <span style="font-size: 9pt">密码：</span></td>
                        <td style="width: 100px; height: 36px; text-align: left;">
        <asp:TextBox ID="txtPassord" runat="server" TextMode="Password" Height="16px"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td style="width: 460px; height: 30px; text-align: right">
                        </td>
                        <td style="width: 57px; text-align: right; height: 30px;">
                            <span style="font-size: 9pt">角色：</span></td>
                        <td style="width: 100px; text-align: left; height: 30px;">
        <asp:DropDownList ID="ddlType" runat="server" Height="16px" >
            <asp:ListItem>管理员</asp:ListItem>
            <asp:ListItem>普通用户</asp:ListItem>
        </asp:DropDownList></td>
                    </tr>
                    <tr>
                        <td style="width: 460px; height: 23px">
                        </td>
                    <td style="height: 23px">
                    </td>
                       
                        <td  colspan="2" style="height: 23px; text-align: left; width: 155px;" >
        <asp:Button ID="btnLogin" runat="server" Text="登录" OnClick="btnLogin_Click" Font-Size="9pt" />
                            <input id="Button2" type="button" value="返回" language="javascript" onclick="return Button2_onclick()" style="width: 36px; height: 23px" size="" />
                </td>
                <td style="height: 23px"></td>
                    </tr>
                </table>
                        &nbsp;
                    </td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
